package cn.work.dao;

import cn.work.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(User record);

    User updateByPrimaryKey(User record);

    List<User> selectAllUser();

    void insertUser(User user);

    User selectUserById(int id);

}